/**
 * @filename:Receivedetail Jan 14, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**   
 * @Description:TODO(收料通知单详细实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_pur_receive_detail")
@ApiModel(value="t_pur_receive_detail对象", description="收料通知单详细表")
public class Receivedetail extends Model<Receivedetail> {

	private static final long serialVersionUID = 1736836671519637L;
	
	@TableId(value ="Id", type = IdType.AUTO)
	@ApiModelProperty(name = "Id" , value = "主键")
    private Long Id;
    
    @TableField(value = "FID")
	@ApiModelProperty(name = "FID" , value = "关联t_pur_receive主键")
    private Long FID;
    
    @TableField(value = "BillNo") 	
	@ApiModelProperty(name = "BillNo" , value = "单据编号")
    private String BillNo;
    
    @TableField(value = "MaterialNumber") 	
	@ApiModelProperty(name = "MaterialNumber" , value = "物料编码")
    private String MaterialNumber;
    
    @TableField(value = "MaterialName") 	
	@ApiModelProperty(name = "MaterialName" , value = "物料名称")
    private String MaterialName;
    
    @TableField(value = "Specification") 	
	@ApiModelProperty(name = "Specification" , value = "物料规格")
    private String Specification;
    
    @TableField(value = "UnitNumber") 	
	@ApiModelProperty(name = "UnitNumber" , value = "单位编码")
    private String UnitNumber;

    @TableField(value = "FEntryId")
    @ApiModelProperty(name = "FEntryId" , value ="金蝶收料通知单分录内码")
    private Long FEntryId;
    
    @TableField(value = "UnitName") 	
	@ApiModelProperty(name = "UnitName" , value = "单位名称")
    private String UnitName;
    
    @TableField(value = "DeliveQty") 	
	@ApiModelProperty(name = "DeliveQty" , value = "交货数量")
    private Double DeliveQty;
    
    @TableField(value = "Lot") 	
	@ApiModelProperty(name = "Lot" , value = "批号")
    private String Lot;
    
//    @TableField(value = "FirWeighQty")
//	@ApiModelProperty(name = "FirWeighQty" , value = "第一次称重数量")
//    private Double FirWeighQty;
//
//    @TableField(value = "SecWeightQty")
//	@ApiModelProperty(name = "SecWeightQty" , value = "第二次称重数量")
//    private Double SecWeightQty;
    
    @TableField(value = "WeightResultQty") 	
	@ApiModelProperty(name = "WeightResultQty" , value = "称重结果数量")
    private Double WeightResultQty;
    
    @TableField(value = "AbnormalQty") 	
	@ApiModelProperty(name = "AbnormalQty" , value = "异常数量")
    private Double AbnormalQty;
    
    @TableField(value = "StockNumber") 	
	@ApiModelProperty(name = "StockNumber" , value = "仓库编码")
    private String StockNumber;
    
    @TableField(value = "StockName") 	
	@ApiModelProperty(name = "StockName" , value = "仓库名称")
    private String StockName;

    @TableField(value = "isChecked")
    @ApiModelProperty(name = "isChecked" , value = "是否下推来料检验单")
    private Boolean isChecked;

    @TableField(value = "isClose")
    @ApiModelProperty(name = "isClose" , value = "是否关闭")
    private Boolean isClose;

    @TableField(value = "FAuxUnitNo")
    @ApiModelProperty(name = "FAuxUnitNo" , value = "辅助单位编码")
    private String FAuxUnitNo;

    @TableField(value = "FAuxUnitName")
    @ApiModelProperty(name = "FAuxUnitName" , value = "辅助单位名称")
    private String FAuxUnitName;

    @TableField(exist = false)
    @ApiModelProperty(name = "inspectCount" , value = "已经下推的数量")
    private Double inspectCount;

    @TableField(exist = false)
    @ApiModelProperty(name = "isBatch" , value = "是否启用批号")
    private Boolean isBatch;


    @TableField(value  = "FPrice")
    @ApiModelProperty(name = "FPrice" , value = "物料单价")
    private Double FPrice;

	@Override
    public Serializable pkVal() {
        return this.Id;
    }
   
}
